package org.dyk.mallmanagementsystem.service.orders;

import com.alibaba.fastjson.JSONObject;
import org.dyk.mallmanagementsystem.model.Orders;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface OrdersService {
    //查询所有订单 分页
    public Page<Orders> findAll(Pageable pageable);

    //根据 主键 获取订单详细信息
    public JSONObject findByOid(int oid);

    //修改订单状态
    public boolean updataByState(int oid);
}
